package Cliente.Modelo;

import java.util.Observable;

/**
 * @author Angel Lopez
 */
public class Game extends Observable{
    private BoardPlaying partida = new BoardPlaying();
    private int id_game;
    private String name_game;
    private int who_player_iam;
    /*private int player_turn_before_roll_die;*/


    
    public Game(){
        
    }
    

    public void notificar_cambio_tablero(BoardPlaying partida_aux){
        partida = partida_aux;
        this.setChanged();
        this.notifyObservers(partida);
    }

    //GETTER HECHO POR JORGE PARA PRUEBAS
    public BoardPlaying getPartida() {
        return partida;
    }
    
    public void setId_game(int id_game){
        this.id_game = id_game;
    }
    
    public String getName_game() {
        return name_game;
    }

    public void setName_game(String name_game) {
        this.name_game = name_game;
    }

    public int getId_game() {
        return id_game;
    }
    
    public int getWho_player_iam() {
        return who_player_iam;
    }

    public void setWho_player_iam(int who_player_iam) {
        this.who_player_iam = who_player_iam;
    }
    
    
    
    
    
    
         
}
